import sequelize from "../../db/dbConnext";
import { option } from "../../db/commomConfig";
import { DataTypes } from "sequelize";

import CatteryEntity from "../../../entities/pet/CatteryEntity";
export type ICattery = Omit<CatteryEntity, "validateThis">;

const CatteryModel = sequelize.define<any, ICattery>(
  "cattery_admin",
  {
    name: {
      type: DataTypes.STRING,
      allowNull: true,
    },
    imgUrl: {
      type: DataTypes.STRING,
      allowNull: true,
    },
    type: {
      type: DataTypes.STRING,
      allowNull: true,
    }
  },
  option
);
export default CatteryModel;
